/*******************************************************************************
 * Copyright (c) 2009 Dop Sun.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     Dop Sun - initial API and implementation
 ******************************************************************************/
package com.softao.ming.gde.internal.ui.launcher;

import org.eclipse.core.runtime.CoreException;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;

import com.softao.ming.gde.internal.ui.block.IUIBlock;

/**
 * Defines a block of the tab.
 */
public interface ITabBlock extends IUIBlock {
	/**
	 * @param configuration
	 * @throws CoreException 
	 */
	public void initializeFrom(ILaunchConfiguration configuration) throws CoreException;

	/**
	 * @param configuration
	 */
	public void performApply(ILaunchConfigurationWorkingCopy configuration);

	/**
	 * @param configuration
	 */
	public void setDefaults(ILaunchConfigurationWorkingCopy configuration);

}
